package co.chuangdian.oflauncher.folders.setting;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import cn.onekit.CALLBACK;
import co.chuangdian.oflauncher.R;
import uc.WallpapersView;

public class AddFolder_Step3 extends Fragment {
	public AddFolder_Step3() {

	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		return inflater.inflate(R.layout.foldersetting_add_3, container, false);
	}

	WallpapersView wallpapersView;
	public String path;

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		wallpapersView = (WallpapersView) getActivity().findViewById(R.id.wallpapersView);
		wallpapersView.setData(new CALLBACK<String>() {

			@Override
			public void run(boolean isError, String result) {
				path = result;
			}
		});
	}
}
